<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
<jsp:useBean id="addNameUrl" class="java.lang.String" scope="request" />
<portlet:defineObjects />

<form id="<portlet:namespace />helloForm" action="<%=addNameUrl%>" method="post">
	<table>
		<tr>
			<td>Name:</td>
			<td><input type="text" name="userName" /></td>
		</tr>
	</table>
	<input type="submit" id="nameButton" title="Add name" value="Add name" />
</form>